#ifndef BYOGAMES_H
#define BYOGAMES_H
#include <wx/timer.h>
#include "M_Code_plugin.h"

class Games : public cbToolPlugin {
  public:
    Games();
    ~Games();
    int Configure() { return  0; }
    int GetConfigurationPriority() const { return  25; }
    int GetConfigurationGroup() const { return cgContribPlugin; }
    cbConfigurationPanel* GetConfigurationPanel( wxWindow* parent );
    int Execute();
    void OnAttach();
    void OnRelease( bool appShutDown );
  private:
    wxTimer SecondTick;
    void OnTimer( wxTimerEvent& event );
    void OnOnGameSelect( wxCommandEvent& event );
    int SelectGame();
    DECLARE_EVENT_TABLE()
};

#endif
